//
//  TalkTableViewCell.m
//  Bettle
//
//  Created by jackli on 2017/1/12.
//  Copyright © 2017年 panhongliu. All rights reserved.
//
#import "TalkTableViewCell.h"

@implementation TalkTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.talkcollectionview= [[TalkCollectionview alloc]initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH- 23-31, self.collectionview.height)];
    NSLog(@"视图宽度%f", self.collectionview.width);
    NSLog(@"colllection宽度%f",self.talkcollectionview.width);
    [self.collectionview addSubview:  self.talkcollectionview];

}

-(void)cellFuzhi
{
    
//    self.mainHeaderview=[[MainHeaderview alloc]initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, self.collectionview.height)];
//    
//    
//    [self.collectionview addSubview:self.mainHeaderview];
    
    
   
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
